package top.bulk.encrypt.annotation;

import top.bulk.encrypt.strategy.CryptoStrategy;

import java.lang.annotation.*;

/**
 * 加密注解
 *
 * @author 散装java
 * @date 2024-07-18
 */
@Target(value = {ElementType.METHOD, ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Encrypt {
    CryptoStrategy strategy() default CryptoStrategy.AES;

    String[] arguments() default "bulk-java";
}
